package com.ruoyi.odorservice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.odorservice.entity.SampleDetail;
import com.ruoyi.odorservice.entity.model.SampleDetailWithMaterial;
import com.ruoyi.odorservice.mapper.SampleDetailMapper;
import com.ruoyi.odorservice.service.SampleDetailService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SampleDetailServiceImpl extends ServiceImpl<SampleDetailMapper, SampleDetail> implements SampleDetailService {

    /**
     * 根据样本id获取样本物质详情
     *
     * @param sampleIds
     * @return
     */
    @Override
    public List<SampleDetailWithMaterial> selectSampleDetailWithMaterial(String sampleIds) {
        return this.baseMapper.selectSampleDetailWithMaterial(sampleIds);
    }
}
